package io.itit.ecp.admin.server.service;


import icu.mhb.mybatisplus.plugln.base.service.JoinIService;
import io.itit.ecp.admin.server.entity.DeviceWarningPushUserEntity;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

public interface IDeviceWarningPushUserService extends JoinIService<DeviceWarningPushUserEntity> {

    void removeByWarningRecordId(Serializable warningRecordId);

    void removeByWarningRecordIds(Collection<?> warningRecordIds);

    List<DeviceWarningPushUserEntity> findByWarningRecordId(Serializable warningRecordId);

    void batchReadByUserId(String userId);

    DeviceWarningPushUserEntity readById(String id);
}
